
<div class="row">
	<div class="col-md-12">
		<ol class="breadcrumb">
			<li><a href="#" onclick="common_ajax.ajaxMainPanel('/jf/platform/index/content');">${i18nMap["admin.common.mainPage"]}</a></li>
			<li><a href="#" onclick="common_ajax.ajaxMainPanel('/jf/platform/sysLog');">${i18nMap["admin.sysLog.mainPage"]}</a></li>
			<li class="active">${i18nMap["admin.sysLog.view"]}</li>
		</ol>
	</div>
</div>

<div class="row">
	<div class="col-md-12">
		<!-- start: BORDERED TABLE PANEL -->
		<div class="panel panel-white">
			
			<div class="panel-heading">
				<h4 class="panel-title"><span class="text-bold">${i18nMap["admin.user.view"]}</span></h4>
				<div class="panel-tools">										
					<% include("/common/panel-tools.html"){} %>
				</div>
			</div>
			
			<div class="panel-body">	
				<form role="form" class="form-horizontal">
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.oname"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${escapeXml(sysLog.onames!)}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.ourl"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${escapeXml(sysLog.ourl!)}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.ips"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${escapeXml(sysLog.ips!)}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.status"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value='<%if(sysLog.status == "0"){%>${i18nMap["admin.sysLog.property.status.error"]}<%}else{%>${i18nMap["admin.sysLog.property.status.success"]}<%}%>'>
						</div>
					</div>
					
					<% if(isEmpty(sysLog.cause)){ %>
						
					<% }else if(sysLog.cause == "0"){ %>
						<div class="form-group">
							<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.cause"]}</label>
							<div class="col-sm-7">
								<input type="text" class="form-control" readonly="readonly" value='${i18nMap["admin.sysLog.property.cause.0"]}'>
							</div>
						</div>
						
					<% }else if(sysLog.cause == "1"){ %>
						<div class="form-group">
							<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.cause"]}</label>
							<div class="col-sm-7">
								<input type="text" class="form-control" readonly="readonly" value='${i18nMap["admin.sysLog.property.cause.1"]}'>
							</div>
						</div>
						
					<% }else if(sysLog.cause == "2"){ %>
						<div class="form-group">
							<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.cause"]}</label>
							<div class="col-sm-7">
								<input type="text" class="form-control" readonly="readonly" value='${i18nMap["admin.sysLog.property.cause.2"]}'>
							</div>
						</div>
						
					<% }else if(sysLog.cause == "3"){ %>
						<div class="form-group">
							<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.cause"]}</label>
							<div class="col-sm-7">
								<input type="text" class="form-control" readonly="readonly" value='${i18nMap["admin.sysLog.property.cause.3"]}'>
							</div>
						</div>
					<% } %>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.username"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${escapeXml(sysLog.username!)}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.startdate"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value='${sysLog.startdate!, dateFormat="yyyy-MM-dd HH:mm:ss:SSS"}'>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.enddate"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value='${sysLog.enddate!, dateFormat="yyyy-MM-dd HH:mm:ss:SSS"}'>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.haoshi"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${sysLog.haoshi!}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.actionhaoshi"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${sysLog.actionhaoshi!}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.viewhaoshi"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${sysLog.viewhaoshi!}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.description"]}</label>
						<div class="col-sm-7">
							<textarea class="autosize form-control">${escapeXml(sysLog.description!)}</textarea>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.method"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${escapeXml(sysLog.method!)}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.xrequestedwith"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${escapeXml(sysLog.xrequestedwith!)}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.host"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${escapeXml(sysLog.host!)}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.acceptlanguage"]}</label>
						<div class="col-sm-7">
							<textarea class="autosize form-control">${escapeXml(sysLog.acceptlanguage!)}</textarea>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.acceptencoding"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${escapeXml(sysLog.acceptencoding!)}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.accept"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${escapeXml(sysLog.accept!)}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.connection"]}</label>
						<div class="col-sm-7">
							<input type="text" class="form-control" readonly="readonly" value="${escapeXml(sysLog.connection!)}">
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.requestpath"]}</label>
						<div class="col-sm-7">
							<textarea class="autosize form-control">${escapeXml(sysLog.requestpath!) }</textarea>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.useragent"]}</label>
						<div class="col-sm-7">
							<textarea class="autosize form-control">${escapeXml(sysLog.useragent!) }</textarea>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.referer"]}</label>
						<div class="col-sm-7">
							<textarea class="autosize form-control">${escapeXml(sysLog.referer!) }</textarea>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-sm-2 control-label">${i18nMap["admin.sysLog.property.cookie"]}</label>
						<div class="col-sm-7">
							<textarea class="autosize form-control">${escapeXml(sysLog.cookie!) }</textarea>
						</div>
					</div>
				
				</form>
			</div>
		
		</div>
	</div>
</div>	
